package com.school.test.mapper;

import com.school.test.domain.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 字典表 数据层
 * 
 * @author ruoyi
 */
@Mapper
public interface StatisticsVisitMapper
{
    List<StatisticsVisit> selectInfo(@Param("item") List<String> item,@Param("startTime") String  startTime,@Param("endTime") String  endTime,@Param("channel") String  channel);

    int insertStatisticsVisit(StatisticsVisit statisticsVisit);

    List<StatisticsVisit> selectInfoByCompanyType(@Param("id") String id,@Param("companyType") String companyType,@Param("startTime") String  startTime,@Param("endTime") String  endTime,@Param("channel") String channel);

    List<StatisticsVisit> selectInfoAll(@Param("item") List<String> item,@Param("startTime") String  startTime,@Param("endTime") String  endTime,@Param("channel") String  channel);

    StatisticsVisit selectStatisticsVisitById(@Param("id") String id);

    void deleteStatisticsVisitById(@Param("id") String id);

    int updateStatisticsVisit(StatisticsVisit statisticsVisit);
}
